<script setup>
import { provide, ref } from "vue";
const isShow = ref(false)
const setIsShow = (value) => {
  isShow.value = value
}


const inputs = ref('')

const setInput = (input) => {
  inputs.value = input
}

provide('isShow',{
  setIsShow,
  isShow,
})
provide('searchBar',{
  setInput,
  inputs
})

</script> 

<template>
      <router-link to="/">
        网站收藏
      </router-link>
      <router-link to="/imageGallery">
        图片收藏
      </router-link>
     <router-view></router-view>
</template>

<style scoped>

</style>
